/*
	练习1.9: 50 加到 100
*/
#include<iostream>

int main()
{
	int i=50, sum=0;
	while(i<=100)
	{
		sum += i;
		++i;
	}
	std::cout<<"the sum is "<<sum<<std::endl;
	return 0;
}